package net.zoneland.knowledge.service;

import com.github.pagehelper.PageInfo;
import net.zoneland.knowledge.controller.bean.SanHuiYiKeVo;
import net.zoneland.knowledge.model.DiYiYiTi;
import net.zoneland.knowledge.model.SanHuiYiKe;

import java.util.List;

/**
 * 第一议题的业务接口.
 * @author zouxia
 */
public interface DiYiYiTiService {

    /**
     * 查询.
     * @param sanHuiYiKeVo 查询参数.
     * @return 党员集合
     */
    List<DiYiYiTi> searchByParam(final SanHuiYiKeVo sanHuiYiKeVo);

    /**
     * 查询.
     * @param sanHuiYiKeVo 查询参数.
     * @return 党员集合
     */
    PageInfo searchToPage(final SanHuiYiKeVo sanHuiYiKeVo);

    /**
     * 查询.
     * @param sanHuiYiKeVo 查询参数.
     * @return 党员集合
     */
    List<DiYiYiTi> searchList(final SanHuiYiKeVo sanHuiYiKeVo);

    /**
     * 查询.
     * @param id 查询参数.
     * @return 党员集合
     */
    DiYiYiTi getInfoById(final String id);
}
